summaryrefslogtreecommitdiff
path: root/src/pages/[locale]/index.astro
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-19 21:56:32 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-19 21:56:32 +0100
commitac3666f65bd81f48c8d88099310070eeff46fbd7 (patch)
tree08d35d461c8dc11286ebcadda653bc87ac683fab /src/pages/[locale]/index.astro
parent6a493f1a07612043a6ab75f044059b67e3a8b95b (diff)
Better Back To Top link layout
Diffstat (limited to 'src/pages/[locale]/index.astro')
-rw-r--r--src/pages/[locale]/index.astro4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/[locale]/index.astro b/src/pages/[locale]/index.astro
index 82cafd4..11188a0 100644
--- a/src/pages/[locale]/index.astro
+++ b/src/pages/[locale]/index.astro
@@ -19,9 +19,9 @@ const mostRecentNewsItem = await getMostRecentNewsItem(locale);
<Page title={t(tPage, { key: 'title' })}>
<section>
- <h2 set:html={t(tPage, { key: 'news' })} />
+ <h2 class="grid-span-6" set:html={t(tPage, { key: 'news' })} />
{mostRecentNewsItem && <NewsPreviewLink headingLevel="h3" newsItem={mostRecentNewsItem} />}
- <div class="align-end margin-block-start-sm">
+ <div class="grid-end margin-block-start-sm">
<a href={`/${locale}/news`} class="btn">
{t(tPage, { key: 'aw-news' })} ▷
</a>